projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4903f80
)
Shortcuts window: Make search results themable
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 8 Oct 2017 02:45:05 +0000
(22:45 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 8 Oct 2017 02:45:05 +0000
(22:45 -0400)
Add a style class to the box containing search results,
so we can apply style here.
gtk/gtkshortcutswindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkshortcutswindow.c
b/gtk/gtkshortcutswindow.c
index 05b8f93b2a3e16106157ffbe0045ec10a74061c4..d5600eda9b35230640991ff7cab5f5d28abde1a4 100644
(file)
--- a/
gtk/gtkshortcutswindow.c
+++ b/
gtk/gtkshortcutswindow.c
@@
-976,9
+976,9
@@
gtk_shortcuts_window_init (GtkShortcutsWindow *self)
NULL);
box = g_object_new (GTK_TYPE_BOX,
"halign", GTK_ALIGN_CENTER,
- "spacing", 24,
"orientation", GTK_ORIENTATION_VERTICAL,
NULL);
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (box)), "shortcuts-search-results");
gtk_container_add (GTK_CONTAINER (scroller), GTK_WIDGET (box));
gtk_stack_add_named (priv->stack, scroller, "internal-search");